package com.zhao.common.support;

public enum MessageTypeEnum {

	TEXT_EMAIL(1, "文本邮件"), EMAIL(2, "HTML邮件"), MOBILE(3, "手机消息"), SITE(4, "站内信");

	private Integer code;
	private String text;

	MessageTypeEnum(Integer code, String text) {
		this.code = code;
		this.text = text;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public Integer getCode() {
		return code;
	}

	public void setCode(Integer code) {
		this.code = code;
	}
}